- @title = "Login"

#login
  - unless @user_session.errors.empty?
    #errors Email or Password invalid

  - form_for @user_session, :url => login_path do |f|
    %ol.fields
      %li.email
        = f.label :email
        = f.text_field :email, :class => :text
      %li.password
        = f.label :password
        = f.password_field :password, :class => :text
      %li.remember_me
        = f.check_box :remember_me, :class => :check_box
        = f.label :remember_me
    .buttons
      = f.submit 'Login'